<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Hmm. No pencils.',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/06/21.jpg" alt="Clusters of tiny, pink flowers" class="framed-centred-image" width="800" height="480"/>
<section id="diet">
	<h2>Dietary intake</h2>
	<p>
		For breakfast, I had 55 grams of cereal with 95 grams of soy milk.
		For lunch, I had 130 grams of muffuletta, and I had another 169 grams of it for dinner.
		I also snacked on 91 grams of pretzels, and when I got home from work, I had 77 grams of cranberry sauce before bed.
	</p>
	<p>
		I think my face might be a bit thinner and less ugly than it was before.
		Despite my slip-ups, I think my efforts are paying off.
		I just have to keep pressing forward.
		Combine that with the $a[laser] treatment, and I&apos;ll have a rather presentable face before too long.
		I mean, I&apos;ll never be a model or anything like that, but then again, most people won&apos;t.
		I won&apos;t have to shy away from photographs and mirrors any more though.
	</p>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/img/CC_BY-SA_3.0/minetest.net./weblog/2019/06/21.png" alt="Coal ore displayed as the result for combining two apple wood logs" class="framed-centred-image" width="1024" height="600"/>
	<p>
		I&apos;ve gotten the crafting-grid-to-recipe translator done.
		The great thing about this converter is that it ignores where exactly in the grid the items are placed, and only pays attention to where they are in relation to one another.
		This allows it to mimic the main, engine-driven crafting grid and allow recipes that are smaller than the crafting grid to be placed anywhere within the grid, which I feel is necessary for a consistent gameplay experience.
		Having the main crafting grid do this but not the terra block&apos;s crafting grid do this would only serve to confuse players.
		It was actually this feature that prevented me form completing the grid-to-recipe code yesterday.
		The code wasn&apos;t overly difficult to build, it was just a bit time-consuming.
	</p>
	<p>
		There&apos;s still a long way to go before the terra block is ready to actually function, but this is a good start.
	</p>
</section>
<section id="pencil">
	<h2>No pencil</h2>
	<p>
		I went to mark out some sections on the back of my aida to begin my cross stitch project, but there&apos;s not a single pencil in my home.
		I don&apos;t have a single pencil to my name.
		Isn&apos;t that strange?
		I tend to prefer pens, though pencils are much better for cross stitch projects.
		I haven&apos;t cross stitched in years though, so I don&apos;t even own any pencils.
		I guess I&apos;ll have to get one before I begin.
	</p>
</section>
<section id="battery">
	<h2>Mobile battery</h2>
	<p>
		The mobile battery still hasn&apos;t arrived.
		It&apos;s a week late now.
		Where is it?
		I sent the seller a message asking about it:
	</p>
	<blockquote>
		<p>
			At the beginning of last month, I ordered a battery for a GT-i9100 from you.
			You said it&apos;d arrive on 2019-06-14, but it still hasn&apos;t arrived.
			The battery is now a week late to arrive.
			May I get some sort of update on this? Did the battery get sent?
			Is it lost in the mail?
			Is there some sort of tracking number to check on it?
			I&apos;m sorry to bother you, it&apos;s just that I&apos;ve already been waiting over a month for it, and I&apos;d really hoped to have the battery before my university term started.
		</p>
	</blockquote>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			You make a great point about $a[API] allowing code to be written that can be compiled for multiple systems.
			That doesn&apos;t really apply to the Direct3D graphics $a[API] that the reading assignment discussed, as that $a[API] is Windows-specific, but if you use a better graphics $a[API] such as OpenGL (also discussed in the reading assignment), you can compile your application to run across multiple systems without needing to modify your code for each system.
			This is one of the fantastic strengths of open standard $a[API]s.
		</p>
		<p>
			I like your overview of the graphics pipeline.
			I haven&apos;t had time to read that part of the assignment just yet, and your summary of it was quite informative.
		</p>
	</blockquote>
</section>
END
);
